搜索资源列表
ArithmeticExpressionEvaluation
- 算术表达式求值 从键盘读入一个合法的算术表达式,输出正确的结果,并显示输入序列和栈的变化过程。-Arithmetic Expression Evaluation Reading from the keyboard into a legitimate expression of the arithmetic, the output correct results, and display the input sequence and stack the process of change.
Calculator
- 对任意的一个算术表达式进行加减乘除运算,表 达式有误会显示提示。主要用的知识 : 栈,字符串处理等等 -Of an arbitrary arithmetic expressions Math & Computing, shows a misunderstanding has prompted expressions. The main use of knowledge: the stack, the string handle and so on
suoshubiaodashi
- 数据结构课程设计 求算术表达式的值 学习数据结构的可以参考一下 希望对你们有用-Data structure the curriculum design for the value of the arithmetic expression study data structures for reference you wish to be useful
suanshubiaodashiqiuzhi
- 简单的算术表达式求值,是数据结构的课程设计。 运用了栈的一些基本操作,可以进行算术运算!-Simple arithmetic expression evaluator is the data structure of the curriculum design. The use of the stack some of the basic operations, arithmetic operations can be carried out!
tree
- 包括树的构造,树和二叉树的转换,树的各种遍历,以及用二叉树计算算术表达式,构造、计算中序表达式,中序表达式转前序表达式等~! -Including the tree structure, trees and tree transformation, tree traversal of the various, and the tree calculated using the arithmetic expression, construction, calculation sequence ex
suanshubiaodashiqiuzhi
- 把算术表达式转换成后缀表达式然后求值。数据结构实验,包含实验报告。-Put arithmetic expressions into expressions suffix then evaluated. Experimental data structure that contains the report of the experiment.
suanfuyouxianfa
- 算术表达式词法和语法分析程序,递归下降法,四元式-Arithmetic expression lexical and syntax analysis, recursive descent method, type Quaternion
Compiler
- 算术表达式的词法分析和语法分析,有需要的用-Arithmetic expressions of lexical analysis and syntax analysis, there is a need to use
4
- 四则运算 将算术表达式转换成后缀表达式后计算-#include<stdio.h> #include <stdlib.h>
bianyiyuanli
- 词法扫描并生成中间表达式,理解中间代码,将非后缀式用来表示的算术表达式转换为用逆波兰式来表示的算术表达式 -Lexical scanning and generate intermediate expression, understanding of intermediate code will be used to indicate the non-suffix type is converted to the arithmetic expressions using reverse P
Stack
- 实现对输入的算术表达式进行计算,用栈完成此项功能-Calculate the Expression using Stack
calculator
- 本程序是算术表达式计算程序,通过输入表达式达到计算的目的(编译原理中的词法分析、算符优先分析,可代替目前普遍使用的计算器)。-This procedure is the arithmetic expression program, by entering the expression to achieve the purposes of the calculation (the compiler of the principle of lexical analysis, operator pri
suanfa
- 问题描述:假设一个算术表达式中可包含三种括号:圆括号,方括号和花括号且这三种括号可按任意次序嵌套使用。试利用栈的运算,编写判别给定表达式中所含括号是否正确配对出现的算法。-Problem Descr iption: Suppose an arithmetic expression can contain three types of brackets: parentheses, square brackets and curly braces and brackets can be any of
1
- 、完成以下描述算术表达式的算符优先文法的算符优先分析过程。 G[E]:E→E+T∣E-T∣T T→T*F∣T/F∣F F→(E)∣i -failed to translate
LL(1)
- 采用编译原理的LL(1)文法判断一个算术表达式是否正确如 113+23*3.4*(32.4-5)/23并且给出详细的栈过程显示-The principle used to compile the LL (1) grammar to determine whether or not a correct arithmetic expression such as 113+23* 3.4* (32.4-5)/23 and gives a detailed process shows that the
3377823
- 编译程序的分析与设计和算术表达式的扩充,经过编译运行得到验证结果-Compiler analysis and design, and arithmetic expansion of expression, have been compiled to verify the results of running
yyfx
- 实验目的 通过上机实习,加深对语法制导翻译原理的理解,掌握将语法分析所识别的语法成分变换为中间代码的语义翻译方法. 实验要求 采用递归下降语法制导翻译法,对算术表达式、赋值语句进行语义分析并生成四元式序列。 实验的输入和输出 输入是语法分析提供的正确的单词串,输出为三地址指令形式的四元式序列。 例如:对于语句串 begin a:=2+3*4 x:=(a+b)/c end# 输出的三地址指令如下: (1) t1=3*4 (2) t2=2+t1 (3
lab_111
- 一个算术表达式,由常量、变量、运算符和括号组成-An arithmetic expression, by the constant, variable, composed of operators and brackets
lab_111
- 一个算术表达式,由常量、变量、运算符和括号组成 规定操作数只能为正整数,操作符为+、-、*、/,用#表示结束。-An arithmetic expression, by the constant, variable, composed of operators and parentheses provides operand can only be a positive integer, for the operator said+,-,*,/, end with#.
EVA
- 算符优先算法 求算术表达式的值 数据结构-priority of operator